package com.glsc.ngateway.common.base.dto.opmanage.report.subscribe;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: qiyr
 * @date: 2022/6/13 10:12
 * @description: 邮件和报表信息Dto
 */
public class ReportMailInfoDto {

    private String titleName;

    private List<InfoDto> infoList;

    public ReportMailInfoDto() {
    }

    public ReportMailInfoDto(String titleName) {
        this.titleName = titleName;
        this.infoList = new ArrayList<>();
    }

    public ReportMailInfoDto(String titleName, List<InfoDto> infoList) {
        this.titleName = titleName;
        this.infoList = infoList;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public List<InfoDto> getInfoList() {
        return infoList;
    }

    public void setInfoList(List<InfoDto> infoList) {
        this.infoList = infoList;
    }

    public class InfoDto {
        private String reportId;

        private String reportName;

        private String biVersion;

        private List<ReportParamDto> paramDtoList;

        private List<ReportMailAttachmentDto> attachmentList;

        public InfoDto() {
        }

        public InfoDto(String reportId, String reportName, List<ReportParamDto> paramDtoList, List<ReportMailAttachmentDto> attachmentList , String biVersion) {
            this.reportId = reportId;
            this.reportName = reportName;
            this.paramDtoList = paramDtoList;
            this.attachmentList = attachmentList;
            this.biVersion = biVersion;
        }

        public void setBiVersion(String biVersion) {
            this.biVersion = biVersion;
        }

        public String getBiVersion() {
            return biVersion;
        }

        public String getReportId() {
            return reportId;
        }

        public void setReportId(String reportId) {
            this.reportId = reportId;
        }

        public String getReportName() {
            return reportName;
        }

        public void setReportName(String reportName) {
            this.reportName = reportName;
        }

        public List<ReportParamDto> getParamDtoList() {
            return paramDtoList;
        }

        public void setParamDtoList(List<ReportParamDto> paramDtoList) {
            this.paramDtoList = paramDtoList;
        }

        public List<ReportMailAttachmentDto> getAttachmentList() {
            return attachmentList;
        }

        public void setAttachmentList(List<ReportMailAttachmentDto> attachmentList) {
            this.attachmentList = attachmentList;
        }
    }
}
